﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IQReportes.Utils
{
    public class Constantes
    {
        public static string ACTIONINDEX = "Index";
        public static string CONTROLLERINDEX = "Home";

        public static string mensajeUpdateExitoso = "Información actualizada exitosamente.";

        //Confirmacion archivos csv
        public static int CONFIRMACION_OK = 1;
        public static int CONFIRMACION_KO = 0;

        //tipos de chart
        public static int TREE = 0;
        public static int PIECHART = 1;
        public static int COLUMNCHART = 2;
        public static int LINECHART = 3;
        public static int TABLECHART = 4;

        public static int TREEPANELCONTROL = 0;
        public static int TREETRANSACCIONES = 1;
        
        //Para Transacciones
        public static int MODULO1TREE = 1;
        public static int MODULO2TIPOTX = 2;
        public static int MODULO3ESTADOTX = 3;
        public static int MODULO4MONTOTX = 4;
        
        //Para panel de control
        public static int MODULO2MOTIVO = 2;
        public static int MODULO3ANTIGUEDAD = 3;
        public static int MODULO4REPCOMERCIAL = 4;
        
        public static int TREEMAPEXITOSAS = 0;
        public static int TREEMAPMONTOS = 1;

        //Selecciones rápidas de periodo
        public static int AYER = 1;
        public static int SEMANAL = 2;
        public static int MENSUAL = 3;
        public static int TRIMESTRAL = 4;
        public static int SEMESTRAL = 5;
        public static int ANUAL = 6;
        public static int TODO = 7;

        //usado para trabajar los niveles del tree
        public static int LOCALES = 1;
        public static int DISTRITOS = 2;
        public static int PROVINCIAS = 3;
        public static int DEPARTAMENTOS = 4;
        public static int PAIS = 5;

        //usado para trabajar agrupaciones de fecha
        public static int DIA = 7;
        public static int SEMANA = 40;
        public static int MES = 365;

        //para CSV
        public static int NUM_COLS_CONSCSV = 10;
        public static string TBL_CONSCSV = "TEMP_ESTADO_PROCEDIMIENTO_CSV";
        //usado para manejar los codigos de sobre qué tabla se va usar
        public static int CODIGO_DIA = 1;
        public static int CODIGO_SEMANA = 2;
        public static int CODIGO_MES = 3;
        public static int CODIGO_ANO = 4;


        public static int COD_TRANSACCIONES_EXITOSAS = 0;
        public static int COD_TRANSACCIONES_TOTALES = 1;

        public static int COD_MONTOS_TOTALES = 0;
        public static int COD_MONTOS_EXTORNADOS = 1;

        public static int ESCALA_PORCENTAJE_TREE = 400;
        public static int ESCALA_NEGATIVO_TREE = 200;

        public static string CADENA_VACIA = "";

        //Para el proceso batch
        public static string TBL_CONS_ANO = "IBK_CONSOLIDADO_ANO";
        public static string TBL_CONS_MES = "IBK_CONSOLIDADO_MES";
        public static string TBL_CONS_SEMANA = "IBK_CONSOLIDADO_SEMANA";
        public static string TBL_CONS_DIA = "IBK_CONSOLIDADO_DIA";

        public static int MONEDA_DOLARES = 840;
        //public static string PATH_ARCHIVOS = "C:\\Users\\Juan Carlos\\Desktop\\proyecto IQV2\\IQReportes\\TestFiles";
    }
}